package com.px.chapter_Dec_1.textt;

public abstract class GetTTime {
    public long getTime(){
        long str=System.currentTimeMillis();
        code();
        long end=System.currentTimeMillis();
        return end-str;
    }
    public abstract void code();

}
